package com.example.kaogong.sys.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @description: 帖子前端视图对象
 * @author: 徐文升
 * @create: 2022-04-17 22:11
 **/

@Data
@EqualsAndHashCode
@ApiModel(value = "PostVo", description = "帖子前端视图对象")
public class PostVo {
    @ApiModelProperty(value = "编号")
    private Integer postId;

    @ApiModelProperty(value = "帖子内容")
    private String content;

    @ApiModelProperty(value = "发帖人姓名")
    private String name;

    @ApiModelProperty(value = "发帖时间")
    private LocalDateTime postTime;
}
